docs: 规范 PR title 指引 - #1308
Merged
Merged
Conversation
🤖 自动审查报告
📁 修改的文件
🧠 AI 代码审查意见结论: Ready to Merge 结构化审查结果
必改项无。本次 PR 不存在任何阻断合入的条件。 建议项无。PR 描述清晰,变更内容符合预期,且已充分遵循所有审查规则。
|
Contributor
There was a problem hiding this comment.
Pull request overview
This docs-only PR adjusts AI collaboration governance so PR title format/source-prefix rules are framed as recommendations rather than standalone review blockers. It affects repository governance and review automation assets only; rollback is reverting this PR.
Changes:
- Adds PR title guidance to
AGENTS.mdand related GitHub/Copilot instruction assets. - Updates Claude skills for PR analysis, issue analysis, and issue fixing to suggest title conventions.
- Keeps the intended behavior as guidance, though one governance placement issue was noted.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
AGENTS.md |
Adds PR title guidance and updates PR review order. |
.github/instructions/governance.instructions.md |
Mirrors PR title guidance for governance instructions. |
.github/copilot-instructions.md |
Adds PR title guidance to Copilot repository instructions. |
.claude/skills/analyze-pr/SKILL.md |
Adds title checks to PR analysis output flow. |
.claude/skills/analyze-issue/SKILL.md |
Adds suggested PR title guidance for follow-up PRs. |
.claude/skills/fix-issue/SKILL.md |
Adds suggested PR title guidance before PR creation steps. |
| - 部署与流水线改动在 `scripts/`、`.github/workflows/`、`docker/` | ||
| - 未经明确确认,不执行 `git commit`、`git tag`、`git push`。 | ||
| - commit message 使用英文,不添加 `Co-Authored-By`。 | ||
| - PR title 建议使用 `<类型>: <修改内容>` 格式,例如 `fix: 修复大盘分析历史记录丢失`;类型优先使用 `fix`/`feat`/`refactor`/`docs`/`chore`/`test`/`ci`。标题应描述实际变更,建议不添加 `[codex]`、`codex`、`autocode`、`copilot` 或其他工具/agent 来源前缀。 |
ZhuLinsen
commented
May 15, 2026
ZhuLinsen
left a comment
Owner
Author
There was a problem hiding this comment.
评审结论
- 必要性:通过 + 本 PR 澄清 PR title 规范的约束强度,有助于减少 review 口径误判。
- 是否有对应 issue:无(描述中说明为治理文档措辞调整,无关联 issue 可接受)
- PR 类型:docs + 仅修改
AGENTS.md、.github指令与.claude/skills文档文案。 - description 完整性:完整 + 已覆盖背景、范围、验证命令、兼容风险、回滚方案,并说明未更新
README.md/docs/CHANGELOG.md的原因。 - 是否可直接合入:不可 +
AGENTS.md仍将 PR title 建议放在## 1. 硬规则下,和“建议、不作为硬性阻断项”的目标存在表达冲突,需要先澄清。
主要问题
- [Process blocker]
AGENTS.md:本 PR 新增的 “PR title 建议使用...” 仍位于## 1. 硬规则章节内。虽然句子本身使用了“建议”,但AGENTS.md是仓库 AI 协作规则唯一真源,放在“硬规则”下会继续让 reviewer 或 agent 把标题格式/来源前缀理解为强约束,削弱本 PR 要解决的误判问题。建议将该条移出硬规则章节,或在该章节内明确拆分“非阻断建议”,确保 canonical 文档和.claude/skills/analyze-pr/SKILL.md中“不单独作为 process blocker”的语义一致。
🤖 此回复由 OpenReview Bot 自动生成,仅供参考。如有疑问请 @维护者。
ZhuLinsen
force-pushed
the
codex/soften-pr-title-guidance
branch
from
May 15, 2026 13:33
c84ce54 to
3c7fb03
Compare
ZhuLinsen
commented
May 15, 2026
ZhuLinsen
left a comment
Owner
Author
There was a problem hiding this comment.
评审结论
- 必要性:通过 + 本 PR 统一 PR title 推荐格式、工具/agent 前缀约定和 review 口径,符合仓库 AI 协作资产治理需求。
- 是否有对应 issue:无(描述已说明为治理文档规范调整,无关联 issue 可接受)
- PR 类型:docs + 改动仅涉及
AGENTS.md、.github指令和.claude/skills文档文案。 - description 完整性:完整 + 已覆盖背景、范围、验证命令与结果、兼容风险、回滚方案,并说明未更新
README.md/docs/CHANGELOG.md的原因。 - 是否可直接合入:可 + 当前 CI 成功,改动范围为低风险治理文档;未发现阻断性正确性或流程问题。
🤖 此回复由 OpenReview Bot 自动生成,仅供参考。如有疑问请 @维护者。
Anyone878
pushed a commit
to Anyone878/daily_stock_analysis
that referenced
this pull request
May 17, 2026
EchoingFootsteps
pushed a commit
to EchoingFootsteps/daily_stock_analysis
that referenced
this pull request
Jul 4, 2026
bmwu
pushed a commit
to bmwu/daily_stock_analysis
that referenced
this pull request
Aug 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Type
Background And Problem
当前仓库的 AI 协作规则需要统一 PR title 的推荐格式、工具/agent 前缀约定和 PR review 检查口径,避免
AGENTS.md、Copilot 指令和仓库内 skill 对标题规范的描述不一致。本 PR 的核心是规范 PR title 指引:建议使用
<类型>: <修改内容>,标题描述实际变更,并避免添加[codex]、codex、autocode、copilot或其他工具/agent 来源前缀。同时明确该规则是标题质量建议,不应单独作为 review blocker。Scope Of Change
AGENTS.md,规范 PR title 推荐格式和工具/agent 前缀约定,并说明不作为硬性阻断项。.claude/skills/analyze-pr/SKILL.md,将 PR title 检查纳入“标题与描述完整性”建议项。.claude/skills/analyze-issue/SKILL.md、.claude/skills/fix-issue/SKILL.md、.github/copilot-instructions.md、.github/instructions/governance.instructions.md的 PR title 相关表述。Issue Link
无 Issue:本 PR 仅规范仓库 AI 协作规则中的 PR title 指引。验收标准是相关协作入口对 PR title 的推荐格式、前缀约定和 review 口径保持一致,并通过 AI 资产一致性检查。
Verification Commands And Results
关键输出/结论:
python scripts/check_ai_assets.py输出[ai-assets] OKgit diff --check HEAD~1 HEAD无输出,表示未发现 whitespace/error marker 问题Compatibility And Risk
None。仅修改 AI 协作治理文档和 skill 文案,不影响应用运行、API、配置、数据或部署流程。
Rollback Plan
Revert this PR 即可恢复此前 PR title 指引文案;无需额外配置或数据回滚。
EXTRACT_PROMPT Change (if applicable)
不适用,本 PR 未修改
src/services/image_stock_extractor.py中的EXTRACT_PROMPT。Checklist
docs/CHANGELOG.md;README.md仅在首页级信息变化时更新,细节优先写入docs/*.md/ If user-visible changes are included, relevant docs anddocs/CHANGELOG.mdare updated;README.mdis updated only for homepage-level changes, with details kept indocs/*.md说明:本 PR 仅修改仓库协作治理文档与对应 skill,不涉及应用用户可见能力,因此未更新
docs/CHANGELOG.md或README.md。